package com.jess.arms.base.delegate.sys;

import android.os.Parcel;
import android.os.Parcelable;

import java.io.Serializable;
import java.util.List;

public class LoginReponsBody implements Serializable , Parcelable {


    /**
     * employeeid : Z0668
     * empcode : Z0668
     * name : 康昌春
     * companycode : FZ
     * orgname : 乘务中心三班26组
     * orgcode : CWZXBZ0326
     * executivename : 乘务中心三班26组
     * executivecode : CWZXBZ0326
     * postdesc : 电客车司机
     * postcode : 221
     * rolecodes : ["CWAPP"]
     * status : 10
     * ext1 : 2019-03-25
     * ext2 : Z0668
     * ext3 : CWZXBZ0326
     * fullname : 福州中电科轨道交通有限公司-乘务中心-乘务中心三班-乘务中心三班26组
     * iswithin : 1
     * worktype : CW_BZ_ZX
     * lineNo : 02
     * lineName : 2号线
     * creater : sysadmin
     * createTime : Mar 25, 2019 4:45:35 PM
     * updateTime : Mar 25, 2019 4:45:35 PM
     * updator : sysadmin
     * idx : 2c89a92c6f0f435eb26e0ac1334c10e7
     */

    private String employeeid;
    private String empcode;
    private String name;
    private String companycode;
    private String orgname;
    private String orgcode;
    private String executivename;
    private String executivecode;
    private String postdesc;
    private String postcode;
    private String status;
    private String ext1;
    private String ext2;
    private String ext3;
    private String fullname;
    private String iswithin;
    private String worktype;
    private String lineNo;
    private String lineName;
    private String creater;
    private String createTime;
    private String updateTime;
    private String updator;
    private String idx;
    private List<String> rolecodes;
    private String uName;
    private String pwd;
    private Integer age;
    private Integer workage;
    private Integer hight;
    private Integer weight;

    protected LoginReponsBody(Parcel in) {
        uName = in.readString();
        pwd = in.readString();
        employeeid = in.readString();
        empcode = in.readString();
        name = in.readString();
        companycode = in.readString();
        orgname = in.readString();
        orgcode = in.readString();
        executivename = in.readString();
        executivecode = in.readString();
        postdesc = in.readString();
        postcode = in.readString();
        status = in.readString();
        ext1 = in.readString();
        ext2 = in.readString();
        ext3 = in.readString();
        fullname = in.readString();
        iswithin = in.readString();
        worktype = in.readString();
        lineNo = in.readString();
        lineName = in.readString();
        creater = in.readString();
        createTime = in.readString();
        updateTime = in.readString();
        updator = in.readString();
        idx = in.readString();
        rolecodes = in.createStringArrayList();
        age = in.readInt();
        workage = in.readInt();
        weight = in.readInt();
        hight = in.readInt();
    }

    public static final Creator<LoginReponsBody> CREATOR = new Creator<LoginReponsBody>() {
        @Override
        public LoginReponsBody createFromParcel(Parcel in) {
            return new LoginReponsBody(in);
        }

        @Override
        public LoginReponsBody[] newArray(int size) {
            return new LoginReponsBody[size];
        }
    };

    public String getEmployeeid() {
        return employeeid;
    }

    public void setEmployeeid(String employeeid) {
        this.employeeid = employeeid;
    }

    public String getEmpcode() {
        return empcode;
    }

    public void setEmpcode(String empcode) {
        this.empcode = empcode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCompanycode() {
        return companycode;
    }

    public void setCompanycode(String companycode) {
        this.companycode = companycode;
    }

    public String getOrgname() {
        return orgname;
    }

    public void setOrgname(String orgname) {
        this.orgname = orgname;
    }

    public String getOrgcode() {
        return orgcode;
    }

    public void setOrgcode(String orgcode) {
        this.orgcode = orgcode;
    }

    public String getExecutivename() {
        return executivename;
    }

    public void setExecutivename(String executivename) {
        this.executivename = executivename;
    }

    public String getExecutivecode() {
        return executivecode;
    }

    public void setExecutivecode(String executivecode) {
        this.executivecode = executivecode;
    }

    public String getPostdesc() {
        return postdesc;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public void setPostdesc(String postdesc) {
        this.postdesc = postdesc;
    }

    public String getPostcode() {
        return postcode;
    }

    public void setPostcode(String postcode) {
        this.postcode = postcode;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getExt1() {
        return ext1;
    }

    public void setExt1(String ext1) {
        this.ext1 = ext1;
    }

    public String getExt2() {
        return ext2;
    }

    public void setExt2(String ext2) {
        this.ext2 = ext2;
    }

    public String getExt3() {
        return ext3;
    }

    public void setExt3(String ext3) {
        this.ext3 = ext3;
    }

    public String getFullname() {
        return fullname;
    }

    public void setFullname(String fullname) {
        this.fullname = fullname;
    }

    public String getIswithin() {
        return iswithin;
    }

    public void setIswithin(String iswithin) {
        this.iswithin = iswithin;
    }

    public String getWorktype() {
        return worktype;
    }

    public void setWorktype(String worktype) {
        this.worktype = worktype;
    }

    public String getLineNo() {
        return lineNo;
    }

    public void setLineNo(String lineNo) {
        this.lineNo = lineNo;
    }

    public String getLineName() {
        return lineName;
    }

    public void setLineName(String lineName) {
        this.lineName = lineName;
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdator() {
        return updator;
    }

    public void setUpdator(String updator) {
        this.updator = updator;
    }

    public String getIdx() {
        return idx;
    }

    public void setIdx(String idx) {
        this.idx = idx;
    }

    public List<String> getRolecodes() {
        return rolecodes;
    }

    public void setRolecodes(List<String> rolecodes) {
        this.rolecodes = rolecodes;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getWorkage() {
        return workage;
    }

    public void setWorkage(Integer workage) {
        this.workage = workage;
    }

    public Integer getHight() {
        return hight;
    }

    public void setHight(Integer hight) {
        this.hight = hight;
    }

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeString(employeeid);
        parcel.writeString(empcode);
        parcel.writeString(name);
        parcel.writeString(companycode);
        parcel.writeString(orgname);
        parcel.writeString(orgcode);
        parcel.writeString(executivename);
        parcel.writeString(executivecode);
        parcel.writeString(postdesc);
        parcel.writeString(postcode);
        parcel.writeString(status);
        parcel.writeString(ext1);
        parcel.writeString(ext2);
        parcel.writeString(ext3);
        parcel.writeString(fullname);
        parcel.writeString(iswithin);
        parcel.writeString(worktype);
        parcel.writeString(lineNo);
        parcel.writeString(lineName);
        parcel.writeString(creater);
        parcel.writeString(createTime);
        parcel.writeString(updateTime);
        parcel.writeString(updator);
        parcel.writeString(idx);
        parcel.writeStringList(rolecodes);
        parcel.writeInt(age);
        parcel.writeInt(workage);
        parcel.writeInt(weight);
        parcel.writeInt(hight);
    }
}
